package com.pms.domain;

import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;


@XmlAccessorType(XmlAccessType.FIELD) 
@XmlType(propOrder = { "name", "numFound", "start","mylist"})
public class ReturnResult<T> {
	@XmlAttribute
	String name = "response";
	
	@XmlAttribute
	int numFound;
	
	@XmlAttribute
	int start;
	
	@XmlElements({@javax.xml.bind.annotation.XmlElement(name="info")})
	List<T> mylist;
	
	public List<T> getMylist() {
		return mylist;
	}
	public void setMylist(List<T> mylist) {
		this.mylist = mylist;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getNumFound() {
		return numFound;
	}
	public void setNumFound(int numFound) {
		this.numFound = numFound;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
}
